package com.ktjy.mapper;

import com.ktjy.pojo.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierMapper {
//    实战2
    public List<Supplier> getSupplierList(@Param("supCode")String supCode, @Param("supName")String supName);

//    实战3
    public List<Supplier> supplierList(@Param("supName")String supName,@Param("supCode")String supCode,@Param("supContact")String supContact,@Param("createdTime") String createdTime);

//    实战6
    public int updateSupplier(@Param("id")Integer id,@Param("supName")String supName,@Param("supDesc")String supDesc,@Param("supPhone")String supPhone);
    public int updateSupplier2(@Param("id")Integer id,@Param("supName")String supName,@Param("supDesc")String supDesc,@Param("supPhone")String supPhone);
}
